package com.ruoyi.tester.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 登录配置对象 tester_login_config
 * 
 * @author SJ
 * @date 2022-04-24
 */
public class TesterLoginConfig extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 登录信息id */
    @Excel(name = "登录信息id")
    private Long loginConfigId;

    /** 描述 */
    @Excel(name = "描述")
    private String desc;

    /** 登录类型 */
    @Excel(name = "登录类型")
    private String loginType;

    /** 登录接口全路径 */
    @Excel(name = "登录接口全路径")
    private String loginUrl;

    /** 登录参数 */
    @Excel(name = "登录参数")
    private String loginParam;

    /** 登录有效期(秒) */
    @Excel(name = "登录有效期(秒)")
    private Integer term;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private String status;

    public void setLoginConfigId(Long loginConfigId) 
    {
        this.loginConfigId = loginConfigId;
    }

    public Long getLoginConfigId() 
    {
        return loginConfigId;
    }
    public void setDesc(String desc) 
    {
        this.desc = desc;
    }

    public String getDesc() 
    {
        return desc;
    }
    public void setLoginType(String loginType) 
    {
        this.loginType = loginType;
    }

    public String getLoginType() 
    {
        return loginType;
    }
    public void setLoginUrl(String loginUrl) 
    {
        this.loginUrl = loginUrl;
    }

    public String getLoginUrl() 
    {
        return loginUrl;
    }
    public void setLoginParam(String loginParam) 
    {
        this.loginParam = loginParam;
    }

    public String getLoginParam() 
    {
        return loginParam;
    }
    public void setTerm(Integer term) 
    {
        this.term = term;
    }

    public Integer getTerm() 
    {
        return term;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("loginConfigId", getLoginConfigId())
            .append("desc", getDesc())
            .append("loginType", getLoginType())
            .append("loginUrl", getLoginUrl())
            .append("loginParam", getLoginParam())
            .append("term", getTerm())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
